package com.tnl.app.entity;

import java.io.Serializable;

public class Recommendation implements Serializable {
	
	/*
	 * status - 0 等待面试邀请
	 * status - 1 推荐中
	 * status - 2 推荐成功
	 * status - 3 推荐失败
	 */

	private static final long serialVersionUID = 2772030956064722496L;
	private int id;
	private int jobId;
	private int personId;
	private int createby;
	private long createDate;
	private int status;
	private String reason;
	private String resid;
	private String audioid;
	private int resstatus;
	private int interviewId;
	private int platformId;
	private JobDesc jobDesc;
	private Person person;
	private Interview interview;
	
	private String statusStr;
	private String jobName;
	private String personName;
	private String companyName;
	
	//20191230 add function 推荐奖金功能
	private int restype;
	private String phoneCreateDate;
	private String shareopenid;
	
	public Recommendation() {
		id = 0;
		jobId =0;
		personId =0;
		createby =0;
		createDate = 0;
		setResid("");
		setAudioid("");
		setResstatus(0);
		person = new Person();
	}
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getJobId() {
		return jobId;
	}
	public void setJobId(int jobId) {
		this.jobId = jobId;
	}
	public int getPersonId() {
		return personId;
	}
	public void setPersonId(int personId) {
		this.personId = personId;
	}
	public int getCreateby() {
		return createby;
	}
	public void setCreateby(int createby) {
		this.createby = createby;
	}
	public long getCreateDate() {
		return createDate;
	}
	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Object getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public int getInterviewId() {
		return interviewId;
	}
	public void setInterviewId(int interviewId) {
		this.interviewId = interviewId;
	}
	public Interview getInterview() {
		return interview;
	}
	public void setInterview(Interview interview) {
		this.interview = interview;
	}
	public JobDesc getJobDesc() {
		return jobDesc;
	}
	public void setJobDesc(JobDesc jobDesc) {
		this.jobDesc = jobDesc;
	}
	
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person candidate) {
		this.person = candidate;
	}

	public String getResid() {
		return resid;
	}

	public void setResid(String resid) {
		this.resid = resid;
	}

	public int getResstatus() {
		return resstatus;
	}

	public void setResstatus(int resstatus) {
		this.resstatus = resstatus;
	}

	public int getPlatformId() {
		return platformId;
	}

	public void setPlatformId(int platformId) {
		this.platformId = platformId;
	}


	public String getStatusStr() {
		return statusStr;
	}


	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}


	public String getJobName() {
		return jobName;
	}


	public void setJobName(String jobName) {
		this.jobName = jobName;
	}


	public String getPersonName() {
		return personName;
	}


	public void setPersonName(String personName) {
		this.personName = personName;
	}


	public String getCompanyName() {
		return companyName;
	}


	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}


	public String getAudioid() {
		return audioid;
	}


	public void setAudioid(String audioid) {
		this.audioid = audioid;
	}


	public int getRestype() {
		return restype;
	}


	public void setRestype(int restype) {
		this.restype = restype;
	}


	public String getPhoneCreateDate() {
		return phoneCreateDate;
	}


	public void setPhoneCreateDate(String phoneCreateDate) {
		this.phoneCreateDate = phoneCreateDate;
	}


	public String getShareopenid() {
		return shareopenid;
	}


	public void setShareopenid(String shareopenid) {
		this.shareopenid = shareopenid;
	}

	
}
